Skip to content

Remove useOptimizedViewRegistryOnAndroid feature flag#57228

Closed
javache wants to merge 1 commit into
react:mainfrom
javache:export-D108415790
Closed

Remove useOptimizedViewRegistryOnAndroid feature flag#57228
javache wants to merge 1 commit into
react:mainfrom
javache:export-D108415790

Conversation

@javache

@javache javache commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary:
The flag gated a more memory-efficient view registry implementation in SurfaceMountingManager (MutableIntObjectMap with a ReadWriteLock instead of ConcurrentHashMap). Removing the gate, keeping the optimized path, and inlining the helper methods that previously dispatched between the two implementations.

Changelog:
[Internal]

Reviewed By: mdvacca

Differential Revision: D108415790

Summary:
The flag gated a more memory-efficient view registry implementation in `SurfaceMountingManager` (`MutableIntObjectMap` with a `ReadWriteLock` instead of `ConcurrentHashMap`). Removing the gate, keeping the optimized path, and inlining the helper methods that previously dispatched between the two implementations.

Changelog:
[Internal]

Reviewed By: mdvacca

Differential Revision: D108415790
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 16, 2026
@meta-codesync

meta-codesync Bot commented Jun 16, 2026

Copy link
Copy Markdown

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D108415790.

@meta-codesync meta-codesync Bot closed this in 723908a Jun 16, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Jun 16, 2026
@meta-codesync

meta-codesync Bot commented Jun 16, 2026

Copy link
Copy Markdown

This pull request has been merged in 723908a.

@javache javache deleted the export-D108415790 branch June 16, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant